package com.flash.ReportManagement.Service.impl;

import com.flash.GlobalManagement.util.TimeUtil;
import com.flash.ReportManagement.Service.RollDifferenceService;
import com.flash.ReportManagement.entity.RollDifference;
import com.flash.ReportManagement.mapper.RollDifferenceMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Service
public class RollDifferenceServiceImpl implements RollDifferenceService {
    @Autowired
    RollDifferenceMapper rollDifferenceMapper;

    @Override
    public List<RollDifference> selectRollDifference(String dealTime) {
        System.out.println("实现类");

        if (dealTime==null){
            dealTime="2022-03-11";
        }
        return rollDifferenceMapper.selectRollDifference(dealTime);
    }
}
